﻿using System;
using System.Linq;

namespace LINQPad.OpenAccess.Metadata.Reflection.Adapters
{
    /// <summary>
    /// ContextType - <see cref="IContextTypeInfo" /> adapter.
    /// </summary>
    public interface IContextTypeInfoAdapter
    {
        /// <summary>
        /// Adapts the specified context type.
        /// </summary>
        /// <param name="contextType">Type of the context.</param>
        /// <returns>
        /// The context type info.
        /// </returns>
        IContextTypeInfo Adapt( Type contextType );
    }
}
